if (${FG_ENABLE_GLSLANG})
	file( GLOB_RECURSE SOURCES "*.*" )
	add_library( "PipelineCompiler" STATIC ${SOURCES} )
	source_group( TREE ${CMAKE_CURRENT_SOURCE_DIR} FILES ${SOURCES} )
	target_include_directories( "PipelineCompiler" PUBLIC "." )
	set_property( TARGET "PipelineCompiler" PROPERTY FOLDER "Extensions" )
	target_link_libraries( "PipelineCompiler" PUBLIC "FrameGraph" )
	target_link_libraries( "PipelineCompiler" PUBLIC "GLSLang-lib" )
	target_link_libraries( "PipelineCompiler" PUBLIC "GLSL-Trace-lib" )
	#target_link_libraries( "PipelineCompiler" PUBLIC "SPIRV-Cross-lib" )
	install( TARGETS "PipelineCompiler" ARCHIVE DESTINATION "libs/$<CONFIG>" )
	install( FILES "EShaderCompilationFlags.h" "VPipelineCompiler.h" DESTINATION "include/PipelineCompiler" )
endif ()
